package org.lex.tinyscript.utils;

import java.util.logging.ConsoleHandler;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.Logger;

public class Loggers {
	private static final Logger log;
	private static final Level level = Level.ALL;
	static {
		log = Logger.getLogger("org.lex.tinyscript");
		log.setLevel(level);
		Handler ch = new ConsoleHandler();
		ch.setLevel(level);
		log.addHandler(ch);
	}

	public static Logger getLogger() {
		return log;
	}

	private Loggers() {
	}
}
